home *** CD-ROM | disk | FTP | other *** search
/ Fritz: All Fritz / All Fritz.zip / All Fritz / FILES / PROGBLER / ASMCODE.LZH / READCHAR.DOC < prev    next >
Text File  |  1984-08-11  |  901b  |  22 lines

  1. READCHAR:
  2.  
  3.   This procedure is similar to KEYBOARD.  However, this procedure
  4.   will display the character received from the keyboard to the
  5.   current display device.  It requires three parms.
  6.  
  7.   1.  The string variable to receive the string of characters.
  8.   2.  The variable type  integer to receive the total count of
  9.       characters typed.
  10.   3.  The number of characters to stop reading at.  In this way
  11.          you can limit the field with of the read.  Nice for
  12.          formatted input screens.  It is a positive integer.  It
  13.          should not exceed the declaration of the string otherwise it
  14.          will continue to read past the end of the string into
  15.          adjacent memory space.    There is no error checking.
  16.  
  17.   Pascal declarations:
  18.   Procedure keyboard (VAR stringname : stringtype;
  19.          VAR length : integer;
  20.          CONST width : integer); external;
  21.  
  22.